package com.foreknow.demo9;

import com.foreknow.demo5.Employee;

public interface EmployeeDao {
    /**
     * 添加员工
     */
    public void addEmployee(Employee emp);

    /**
     * 根据id查询员工
     */
    public Employee getQueryById(String id);
    /**
     * 查询所有员工
     */
    public Employee[] getQueryAll();

    /**
     * 根据id删除员工
     */
    public void deleteById(String id);


}
